package com.alex.seo.dao;

import java.util.List;
import java.util.Set;

public interface AbstractDao<Type extends Identifieble<TypeId>, TypeId> {

	public void flush();
	
	public void rollback();
	
	public void persist(Type entity);

	public void delete(Type entity);

	public Type get(TypeId id, boolean ignoreMissing);

	public List<Type> getAll(Set<TypeId> ids, boolean ignoreMissing);
}
